<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            list-style: none;
        }
        .nav {
            display: flex;
            justify-content: center;
            background-color: red;
        }
        .nav li {
            padding: 10px 20px;
            color: #fff;
        }
        .nav li:hover {
            background-color: rgb(213, 3, 3);
            cursor: pointer;
        }
    </style>
</head>
<body>
    <ul class="nav">
        <li>首页</li>
        <li>产品介绍</li>
        <li>关于我们</li>
    </ul>
</body>
</html>